package com.qqtech.qquan.order.model;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class OrderItem extends BaseDomain{

	//columns START
    /** 订单号 */
	private java.lang.String orderNo;
	/** 产品id或服务id或规格id(商城) **/
	private Integer productId;
    /** 产品或服务名称 */
	private java.lang.String name;
    /** 产品或服务价格 */
	private BigDecimal price;
    /** 产品或服务数量 */
	private java.lang.Integer quntity;
    /** 产品图片 */
	private java.lang.String img;
	/** 订单明细商品是否已评价YesOrNoEnum:1-是;2-否 */
	private java.lang.Integer isComment;
	/** 商品规格描述 */
	private java.lang.String productSpecName;
	/** 供应商Id(商城) **/
	private Integer supplierId;
	//columns END
	public OrderItem(){
	}

	public OrderItem( java.lang.Integer id ){
		this.id = id;
	}

	public void setOrderNo(java.lang.String orderNo) {
		this.orderNo = orderNo;
	}

	public java.lang.String getOrderNo() {
		return this.orderNo;
	}
	
	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public void setName(java.lang.String name) {
		this.name = name;
	}

	public java.lang.String getName() {
		return this.name;
	}
	
	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getPrice() {
		return this.price;
	}
	
	public void setQuntity(java.lang.Integer quntity) {
		this.quntity = quntity;
	}

	public java.lang.Integer getQuntity() {
		return this.quntity;
	}
	
	public void setImg(java.lang.String img) {
		this.img = img;
	}

	public java.lang.String getImg() {
		return this.img;
	}

	public java.lang.Integer getIsComment() {
		return isComment;
	}

	public void setIsComment(java.lang.Integer isComment) {
		this.isComment = isComment;
	}

	public java.lang.String getProductSpecName() {
		return productSpecName;
	}

	public void setProductSpecName(java.lang.String productSpecName) {
		this.productSpecName = productSpecName;
	}

	public Integer getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(Integer supplierId) {
		this.supplierId = supplierId;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

